Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ListBase<T> Class / Capacity Property


In This Topic
Capacity Property
In This Topic
Gets or sets the total number of elements the internal data structure can hold without resizing.
Syntax
'Declaration
 
Public Property Capacity As Integer
 
'Usage
 
Dim instance As ListBase(Of T)
Dim value As Integer
 
instance.Capacity = value
 
value = instance.Capacity

Property Value

The number of elements that the ListBase<T> can contain before resizing is required.
See Also